package com.ctgu.server.dao.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @projectName: ctguqmx_server
 * @package: com.ctgu.server.dao.dto
 * @className: RecordDto
 * @author: Kvzjj
 * @description: TODO
 * @date: 2023/6/18 16:47
 * @version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "RecordDto", description = "打卡请求参数")
public class RecordDto {
    @ApiModelProperty(value = "员工ID")
    @NotNull(message = "user不能为空")
    private String userId;

    @ApiModelProperty(value = "员工ID")
    @NotNull(message = "attGroupId不能为空")
    private String attGroupId;

    @ApiModelProperty(value = "经度")
    private Double longitude;

    @ApiModelProperty(value = "维度")
    private Double latitude;
}

